Skip to content

fix: base off existing branch only if it exists and has an open pull request - #338

Closed
hertzg wants to merge 4 commits into
all-contributors:masterfrom
hertzg:fix-loss-of-rcfile-with-dangling-branches
Closed

hertzg wants to merge 4 commits into
all-contributors:masterfrom
hertzg:fix-loss-of-rcfile-with-dangling-branches

Conversation

@hertzg

@hertzg hertzg commented Jan 7, 2021 •

Copy link
Copy Markdown

Fixes #336

⚠️ WIP ⚠️

TODO:

  • Save nock response snapshots for new pull request checks in happy paths

@vercel

vercel Bot commented Jan 7, 2021

Copy link
Copy Markdown

@hertzg is attempting to deploy a commit to the All Contributors Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread lib/modules/repository.js Outdated

async getPullRequestURL({ branchName }) {
try {
const results = await this.octokit.pulls.list({

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good

Comment thread lib/modules/repository.js Outdated
async getPullRequestURL({ branchName }) {
try {
const results = await this.octokit.pulls.list({
owner: this.owner,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicholas t walters

@@ -0,0 +1,54 @@
const Repository = require("../../lib/modules/repository");
const { BranchNotFoundError } = require("../../lib/modules/errors");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gracias

@tenshiAMD tenshiAMD left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hertzg Hi, please rebase to master branch first and resolve all checks so we can proceed with this PR. Thanks!

@hertzg

hertzg commented Sep 7, 2022

Copy link
Copy Markdown
Author

Hey @tenshiAMD, unfortunately I don't have time to work on this pr now, but feel free to finish it if it's a priority right now or let me know and I can close this.

@tenshiAMD
tenshiAMD requested a review from gr2m September 12, 2022 19:27
@tenshiAMD

tenshiAMD commented Sep 12, 2022 •

Copy link
Copy Markdown
Member

@gr2m I think this is the current behavior now. See any differences? Please check. Thanks.

@tenshiAMD tenshiAMD changed the title WIP fix: base off existing branch only if it exists and has an open pull request fix: base off existing branch only if it exists and has an open pull request Sep 12, 2022
@tenshiAMD

Copy link
Copy Markdown
Member

@hertzg Hi. Looks like the other tests got broken. Any ideas? What else are we missing here?

@gr2m

gr2m commented Sep 12, 2022

Copy link
Copy Markdown
Contributor

I'll try to have look this week but can't promise

@hertzg

hertzg commented Sep 13, 2022 •

Copy link
Copy Markdown
Author

@tenshiAMD Are you sure they just broke?

There’s a TODO on top of the PR

TODO:

  • Save nock response snapshots for new pull request checks in happy paths

@tenshiAMD

Copy link
Copy Markdown
Member

@tenshiAMD Are you sure they just broke?

There’s a TODO on top of the PR

TODO:

  • Save nock response snapshots for new pull request checks in happy paths

@hertzg yes I already update the snapshots, you can review the recent checks in this PR

@tenshiAMD tenshiAMD mentioned this pull request Sep 17, 2022
3 tasks done
@tenshiAMD

Copy link
Copy Markdown
Member

Closing for now. Recreated to a new PR #415.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loss of all-contributors.rc and empty pr when user already exists

4 participants